<template>
  <input
    type="text"
    :value="firstName"
    @input="$emit('update:firstName', $event?.target?.value)"
  />
  <input
    type="text"
    :value="lastName"
    @input="$emit('update:lastName', $event?.target?.value)"
  />
</template>

<script setup lang="ts">
defineProps({
  firstName: String,
  lastName: String
})
defineEmits(['update:firstName', 'update:lastName'])

</script>

<style scoped lang="scss">
</style>
